import request from '@/utils/request'

// 项目信息管理
const api = {

  // 修改
  // http://159.75.129.194:6300/project/18/interface/api/712
  update(sendData) {
    return request.request({
      url: '/system/project/update',
      method: 'POST',
      data: sendData,
      loading: false,
    })
  },

  // 删除
  // http://159.75.129.194:6300/project/18/interface/api/715
  delete(sendData) {
    return request.request({
      url: '/system/project/delete',
      method: 'POST',
      data: sendData,
      loading: false,
    })
  },

  // 查询
  // http://159.75.129.194:6300/project/18/interface/api/706
  list(sendData) {
    return request.request({
      url: '/system/project/list',
      method: 'GET',
      params: sendData,
      loading: false,
    })
  },

  // 添加
  // http://159.75.129.194:6300/project/18/interface/api/709
  save(sendData) {
    return request.request({
      url: '/system/project/save',
      method: 'POST',
      data: sendData,
      loading: false,
    })
  },
}
export default api
